<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"  />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../../../css/app.css">
    <link rel="stylesheet" type="text/css" href="../../../css/tabBar.css">
    <link rel="stylesheet" type="text/css" href="../comm/buy_comm.css" />
    <link rel="stylesheet" type="text/css" href="./css/person.css">
    <title>个人中心</title>

</head>

<body>
    <div class="header navigationBar group-header">
        <div class="wrapper">
            <!-- <span class="header-btn left-btn backtrack"></span> -->
            <span class="title">个人中心</span>
        </div>
    </div>
    <div class="container top-container" v-if="orderList!=''">
        <div class="person-top">
            <div class="person-info">
                <img @click="toSet" :src="personInfo.avater" error="this.src='../../../image/picture_void.png'" />
                <h2  v-html="personInfo.nickname"></h2>

                <span>
                  <img v-if="personInfo.star" :src="'../../../image/member/star_level/'+personInfo.star+'.png'" alt="">
                  <!-- <div v-else class="normal_shopper">普通店主</div> -->
              </span>
            </div>
            <div v-if="higherInfo.length>0 || JSON.stringify(higherInfo)!='{}'" class="person-cart" tapmode @click="goRecommend">
                我的推荐人
            </div>
            <!-- <img v-if="personInfo.is_seller" @click="getQRCode" src="../../../image/shop/buy/qrcode.png" alt=""> -->
        </div>
        <div class="person-btm-tool">
            <div class="person-list person-order">
                <h2>
	  				我的订单<span @click="goMyorderMore" data-index="0">查看全部</span>
	  			</h2>
                <ul class="person-order-list">
                    <li data-index="0" @click="goMyorderList">
                        <div>
                            <img src="../../../image/shop/buy/buy-93.png" />
                            <i v-html="orderList.unpay_num" v-if="orderList.unpay_num != 0"></i>
                        </div>
                        <p>待付款</p>
                    </li>
                    <li data-index="1" @click="goMyorderList">
                        <div>
                            <img src="../../../image/shop/buy/buy-91.png" />
                            <i v-html="orderList.pay_num" v-if="orderList.pay_num != 0"></i>
                        </div>
                        <p>待发货</p>
                    </li>
                    <li data-index="2" @click="goMyorderList">
                        <div>
                            <img src="../../../image/shop/buy/buy-95.png" />
                            <i v-html="orderList.receiving_num" v-if="orderList.receiving_num != 0"></i>
                        </div>
                        <p>待收货</p>
                    </li>
                    <li data-index="3" @click="goMyorderList">
                        <div>
                            <img src="../../../image/shop/buy/buy-92.png" />
                            <i v-html="orderList.comment_num" v-if="orderList.comment_num != 0"></i>
                        </div>
                        <p>待评价</p>
                    </li>
                    <li data-index="4" @click="goMyorderList">
                        <div>
                            <img src="../../../image/shop/buy/buy-94.png" />
                            <i v-html="orderList.refund_num" v-if="orderList.refund_num != 0"></i>
                        </div>
                        <p>退款/售后</p>
                    </li>
                </ul>
            </div>
            <div class="person-list person-tool">
                <h2>
	  				必备工具
	  			</h2>
                <ul class="person-tool-list">
                    <!-- <li @click="goMyCoupon()">
                        <img src="../../../image/shop/buy/buy-90.png" />
                        <p>优惠券</p>
                    </li> -->
                    <li @click="goOpenShop()">
                        <img src="../../../image/shop/buy/open_shop.png" />
                        <p v-html="is_shop == 1 ? '我的店铺' : '我要开店'"></p>
                        <span class="span_red" v-if="ShopRedTip"></span>
                    </li>
                    <li v-if="personInfo.star>=1" @click="goMyMember()">
                        <img src="../../../image/shop/buy/my_team.png" />
                        <p>我的团队</p>
                    </li>
                    <li @click="goMyAddress()">
                        <img src="../../../image/shop/buy/buy-88.png" />
                        <p>收货地址</p>
                    </li>
                    <li @click="goMyCollect()">
                        <img src="../../../image/shop/buy/buy-87.png" />
                        <p>我的收藏</p>
                    </li>
                    <li @click="getQRCode()">
                        <img src="../../../image/shop/invite.png" />
                        <p>邀请开店</p>
                    </li>
                    <li @click="myShopAddMemberGoods()" v-if="personInfo.star>0">
                        <img src="../../../image/shop/member_goods.png" />
                        <p>会员商品</p>
                    </li>
                    <li @click="goMyfootprint()">
                        <img src="../../../image/shop/buy/buy-85.png" />
                        <p>我的足迹</p>
                    </li>
                    <li @click="goMyComment()">
                        <img src="../../../image/shop/buy/buy-86.png" />
                        <p>我的评价</p>
                    </li>
                    <li @click="goMyService">
                        <img src="../../../image/shop/buy/buy-100.png" />
                        <p>我的客服</p>
                    </li>
                </ul>
            </div>
        </div>
        <div class="hzuo" @click="toHzuo">
            <img src="../../../image/308/user_list.png" alt="">
        </div>

        <div class="batch_classfiy">
          <div class="batch_classfiy_main" @click.stop>
            <h2>游客模式</h2>
            <ul class="batch_classfiy_list">
              <li>
                体验更多功能，请先登录
              </li>
            </ul>
            <div class="batch_classfiy_btn">
              <!-- <div>
                <a href="javascript:void(0);" @click="classfiyCancel">取消</a>
              </div> -->
              <div>
                <a href="javascript:void(0);" @click="classfiySure()">确定</a>
              </div>
            </div>
          </div>
        </div>


    </div>
</body>
<script src="../../sea.js" data-main="../../main"></script>
<script type="text/javascript" src="../../vue.js"></script>
<script type="text/javascript" src="./js/person.js"></script>

</html>
